<div appBsModal #editModal="bs-modal"  class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="editModal" aria-hidden="true" [config]="{backdrop: 'static', keyboard: !saving}">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <form #jobAppliedForm="ngForm" novalidate (ngSubmit)="save()">
                <div class="modal-header">
                    <h4 class="modal-title"> 
                        <span *ngIf="MessagesDto.id">{{'Edit' | localize}}</span>
                    </h4>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')" >
                        <i aria-hidden="true" class="bi bi-x"></i>
                    </button>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'LoginName' | localize}}</label>
                                <input class="form-control" type="text"  readonly
                                    [(ngModel)]="MessagesDto.loginName" name="loginName">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'Contact' | localize}}</label>
                                <input class="form-control" type="text" readonly
                                
                                    [(ngModel)]="MessagesDto.contact" name="contact">
                            </div>
                        </div>
                    </div>
                    
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'companyName' | localize}}</label>
                                <input class="form-control" type="text"  readonly
                                    [(ngModel)]="MessagesDto.companyName" name="companyName">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'CompanyUrl' | localize}}</label>
                                <input class="form-control" type="text" readonly
                              
                                    [(ngModel)]="MessagesDto.companyURL" name="companyURL">
                            </div>
                        </div>
                    </div>


                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'IndustryRole' | localize}}</label>
                                <input class="form-control" type="text"  readonly
                                    [(ngModel)]="MessagesDto.industryRole" name="IndustryRole">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'Industry' | localize}}</label>
                                <input class="form-control" type="text" readonly
                                    [(ngModel)]="MessagesDto.industry" name="Industry">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'IP' | localize}}</label>
                                <input class="form-control" type="text"  readonly
                                    [(ngModel)]="MessagesDto.ip" name="ip">
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>{{'Url' | localize}}</label>
                                <input class="form-control" type="text" readonly
                                    [(ngModel)]="MessagesDto.sourceUrl" name="sourceUrl">
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-12">
                            <div class="form-group form-md-line-input form-md-floating-label no-hint">
                                <label>咨询的主要营销目标</label>
                                <textarea row=8  class="form-control" type="text" readonly
                                    [(ngModel)]="MessagesDto.intro" name="intro"></textarea>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button [disabled]="saving" type="button" class="btn btn-light-primary font-weight-bold"
                        (click)="close()">{{"Cancel" | localize}}</button>
                    <button type="submit" class="btn btn-primary font-weight-bold"
                        [disabled]="!jobAppliedForm.form.valid" [buttonBusy]="saving"
                        [busyText]="l('SavingWithThreeDot')" *ngIf="permissionDic['Pages_Manage_JobApplied_Update']"><i class="fa fa-save"></i> <span>{{"Save" |
                            localize}}</span></button>
                </div>
            </form>
        </div>
    </div>
</div>
